package com.ywb.ex09.model;

public class PetItem {
    private String id;
    private String petname;
    private double price;
    private String unit;

    public PetItem() {
    }

    public PetItem(String id, String petname, double price, String unit) {
        this.id = id;
        this.petname = petname;
        this.price = price;
        this.unit = unit;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPetname() {
        return petname;
    }

    public void setPetname(String petname) {
        this.petname = petname;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
}

